package com.kkb.service.impl;

import com.kkb.bean.Eadmit;
import com.kkb.dao.EadmitMapper;
import com.kkb.service.AdmitService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Service
public class AdmitServiceImpl implements AdmitService {
    @Resource
    private EadmitMapper mapper;
    @Resource
    private Eadmit eadmit;
    @Override
    public Eadmit findAdmit(String username, String password) {
        eadmit.setUsername(username);
        eadmit.setPassword(password);
        return mapper.findAdmit(eadmit);
    }
}
